package com.fz.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fz.entity.Repair;
import com.fz.entity.Visitor;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fz
 * @since 2024-08-21
 */
public interface VisitorService extends IService<Visitor> {
    boolean pass(Long id,Integer status,Integer statu);

    Page<Visitor> getList(String username, Integer pageNo, Integer pageSize);
    Page<Visitor> showList(Integer pageNo, Integer pageSize);

    Boolean add(String type, String aging, Integer count, String content, Integer userId, String username);

    boolean reject(Long id, Integer status, Integer statu);
    boolean check(Long id,String field,String value);
    boolean del(Long id,Integer status);
    Page<Visitor> search(String input, Integer pageNo, Integer pageSize);
}
